<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Video extends Model
{
    use HasFactory,SoftDeletes;
    protected $fillable=[
        'name',
        'thumb',
        'website',
        'doctor_id',
        'start_at',
        'end_at',
        'profile',
        'type'
    ];
    public function expert(){
        return $this->belongsTo(Expert::class);
    }
}
